OptionalDoubleSetting

Represents an optional setting with a current value and a valid range.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun getMax(): Double
Gets the maximal possible value of the setting.
Link copied to clipboard
abstract fun getMin(): Double
Gets the minimal possible value of the setting.
Link copied to clipboard
abstract fun getValue(): Double
Gets the current value.
Link copied to clipboard
abstract fun isAvailable(): Boolean
Tells whether the setting is currently available.
Link copied to clipboard
abstract fun isUpdating(): Boolean

Tells whether the setting is updating.

Link copied to clipboard
abstract fun setValue(value: Double)
Sets the current setting value.